/**
 * 
 */
package com.xb.cloud.product.merchant.service.impl;

import javax.annotation.Resource;

import com.xb.cloud.common.client.TimeService;
import com.xb.cloud.common.keygen.IPKeyGenerator;

/**
 * 服务统一抽象类，定义公共属性
 * @author kexue
 *
 */
public abstract class AbstractService {
	
	@Resource
	protected TimeService timeService;
	
	@Resource
	protected  IPKeyGenerator ipKeyGenerator;

	public TimeService getTimeService() {
		return timeService;
	}

	public void setTimeService(TimeService timeService) {
		this.timeService = timeService;
	}

	public IPKeyGenerator getIpKeyGenerator() {
		return ipKeyGenerator;
	}

	public void setIpKeyGenerator(IPKeyGenerator ipKeyGenerator) {
		this.ipKeyGenerator = ipKeyGenerator;
	}
}
